package com.example.securityconfiggen.config;


import org.springframework.boot.context.properties.ConfigurationProperties;
import org.springframework.stereotype.Component;

/**
 * 敏感配置安全配置类
 *
 * @author FengBin
 * @date 2024/11/8
 */
@Component
@ConfigurationProperties(prefix = "spring.redis")
public class TestConfiguration {

    /**
     * 密码
     */
    private String password;

    public String getPassword() {
        return password;
    }

    public void setPassword(String password) {
        this.password = password;
    }
}
